<?php
/* @var $this SiteController */

$this->pageTitle=Yii::app()->name;
?>
<div class="left-col">    
        <?php
                $this->beginWidget('zii.widgets.CPortlet', array(
                        'title'=>$searchResultTitle,
                ));
                        $this->widget('zii.widgets.CListView', array(
                                'dataProvider'=>$dataProvider,
                                'itemView'=>'_baigiang_view',
                                'itemsTagName'=>'div',
                                'itemsCssClass'=>'baigiang-items'
                        ));
                $this->endWidget();
        ?>
</div>

<div class="right-col">
    <?php
        if (!isset(Yii::app()->user->userId) ) {
                $this->beginWidget('zii.widgets.CPortlet', array(
                        'title'=>'Đăng nhập',
                ));
                        $this->renderPartial('_login');
                $this->endWidget();
        }
        
        $this->beginWidget('zii.widgets.CPortlet', array(
                    'title'=>'Tìm kiếm',
            ));
                $this->renderPartial('_search');
        $this->endWidget();   
        
    ?>
</div>

<div style="clear: both"></div>